package com.aidex.risk.domain;

import lombok.Data;
import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;

import java.util.List;

@Data
public class tradeGoodsRiskHead {
    private String wayBillID;
    private String wayBillNo;

    private String subWayBillNo;
    private String dataSource;
    private String riskRating;
    private String riskClassification;
    private String agentLevel;
    private String isImportantFlights;
    private List<tradeGoodsRiskDetial> tradeGoodsRiskDetials;
    private List<tradeGoodsRiskDetial> tradeNames;

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
                .append("wayBillID", getWayBillID())
                .append("wayBillNo", getWayBillNo())
                .append("dataSource", getDataSource())
                .append("riskRating", getRiskRating())
                .append("riskClassification", getRiskClassification())
                .append("agentLevel", getAgentLevel())
                .append("isImportantFlights", getIsImportantFlights()).toString();
    }
}